/****************************************************************
 * created by deming.su on 2020-08-04 for main entry file
 ****************************************************************/

<template>
    <div class="application-contianer">
        <!-- <crypto-node></crypto-node> -->
        <!-- <login-node></login-node> -->
        <!-- <main-layout></main-layout> -->
        <!-- <crypto-node /> -->
        <component :is="layout"></component>
    </div>
</template>

/** 导出class 对象 */
<script>
    // 直接引入
    // import CryptoNode from "./demo/Crypto";
    
    export default {
        props: {
            layout: {
                type: String,
                default: ''
            }
        },
        components: {
            // CryptoNode: () => import("./demo/Crypto"),    // 动态引入
            // LoginNode : () => import("./login/Login"),
            // Watchnode : () => import("./demo/watch")
        }
    }
</script>

<style lang="less" scoped>
    .application-contianer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
</style>